package com.dmz.book.login.server.Impl;

import com.dmz.book.entitys.AdminsEntity;
import com.dmz.book.login.map.ILoginMapper;
import com.dmz.book.login.server.AdminLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminLoginServiceImpl implements AdminLoginService {

    @Autowired
    private ILoginMapper loginMapper;
    @Override
    public AdminsEntity Loginin(AdminsEntity adminsEntity) {
        adminsEntity=loginMapper.AdminLogin(adminsEntity);
        return adminsEntity;
    }
}
